package com.xbe.order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xbe.common.annotation.Excel;
import com.xbe.common.core.domain.BaseEntity;

/**
 * 命令记录对象 order
 * 
 * @author ruoyi
 * @date 2020-08-19
 */
public class Order extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** sim卡号 */
    @Excel(name = "sim卡号")
    private String sim;

    /** 工作模式 */
    @Excel(name = "工作模式")
    private String workpattern;

    /** 子工作模式 */
    @Excel(name = "子工作模式")
    private String subworkpattern;

    /** 时间模式 */
    @Excel(name = "时间模式")
    private String timeworkpattern;

    /** 命令名称 */
    @Excel(name = "命令名称")
    private String ordername;

    /** 发送状态 */
    @Excel(name = "发送状态")
    private String state;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSim(String sim) 
    {
        this.sim = sim;
    }

    public String getSim() 
    {
        return sim;
    }
    public void setWorkpattern(String workpattern) 
    {
        this.workpattern = workpattern;
    }

    public String getWorkpattern() 
    {
        return workpattern;
    }
    public void setSubworkpattern(String subworkpattern) 
    {
        this.subworkpattern = subworkpattern;
    }

    public String getSubworkpattern() 
    {
        return subworkpattern;
    }
    public void setTimeworkpattern(String timeworkpattern) 
    {
        this.timeworkpattern = timeworkpattern;
    }

    public String getTimeworkpattern() 
    {
        return timeworkpattern;
    }
    public void setOrdername(String ordername) 
    {
        this.ordername = ordername;
    }

    public String getOrdername() 
    {
        return ordername;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sim", getSim())
            .append("workpattern", getWorkpattern())
            .append("subworkpattern", getSubworkpattern())
            .append("timeworkpattern", getTimeworkpattern())
            .append("ordername", getOrdername())
            .append("createTime", getCreateTime())
            .append("state", getState())
            .append("createBy", getCreateBy())
            .toString();
    }
}
